legally constituted court